package com.ctg.itrdc.imageconsole.common.bean;

public class ReturnCodeDefine {
/*
	public static final String SUCCESS_CODE = "0";
	public static final String ERROR_CODE = "-1";
	public static final String SUCCESS_MSG = "success";
	public static final String ERROR_MSG = "error";
	*/
	/**
	 * @description: 异常编码定义
	 * 	说明：
	 * 		1000-1100为业务操作成功状态码。
	 * 		1101-1999为业务操作错误状态码。
	 * 		1200-...为系统功能性状态码。
	 * @version: v1.0.0 
	 * @author: FFSC-LS
	 * 
	 * Modification History:
	 * Date               Author      Version     Description
	 * -----------------------------------------------------------------
	 * 2016年3月7日 下午2:53:08     FFSC-LS       v1.0.0        create
	 *
	 */
	public final class Code {
		
		public static final String C1000 = "1000";//请求成功
		
		public static final String C1101 = "1101";//获取信息为空
		public static final String C1102 = "1102";//保存数据失败
		
		public static final String C1103 = "1103";//用户名或密码不正确
		public static final String C1104 = "1104";//删除数据失败
		public static final String C1105 = "1105";//请求失败
		
		public static final String C1200 = "1200";//服务器内部错误
		public static final String C1201 = "1201";//会话超时或不存在
		
	}

	/**
	 * @description: 异常编码提示信息定义
	 * 	说明：
	 * 		1000-1100为业务操作成功状态码。
	 * 		1101-1999为业务操作错误状态码。
	 * 		1200-...为系统功能性状态码。
	 * @version: v1.0.0 
	 * @author: FFSC-LS
	 * 
	 * Modification History:
	 * Date               Author      Version     Description
	 * -----------------------------------------------------------------
	 * 2016年3月7日 下午2:53:08     FFSC-LS       v1.0.0        create
	 *
	 */
	public final class Msg {

		public static final String M1000 = "Request is success!";//请求成功
		
		public static final String M1101 = "Get infomation is null!";//获取信息为空
		public static final String M1102 = "Save the data failure!";//保存数据失败
		
		public static final String M1103 = " syscode or passwd incorrect!";//用户名或密码不正确
		public static final String M1104 = "delete the data failure!";//保存数据失败
		public static final String M1105 = "Request is failure!";//请求失败
		
		public static final String M1200 = "Server Internal Error!";//服务器内部错误
		public static final String M1201 = "Session timeout or does not exist";//会话超时或不存在
	}	
}
